import serviceAxios from '../index'
export const getUserInfo = (params) => {
  return serviceAxios({
    method: 'get',
    url: '/api/website/queryMenuWebsite',
    params
  })
}

export const login = (data) =>{
  return serviceAxios({
    url:'/api/user/login',
    method:'post',
    data,
    headers:{
      'content-type':'application/x-www-form-urlencoded'
    }
  })
}